package com.ys.web.pojo;

public class AccountInfo {
	
	private Integer id;
	
	/**代运营公司的登录账号*/
	private String loginName;
	
	
	/**代运营公司的登录密码*/
	private String loginPassword;
	
	/**
	 * 账户属性
	 */
	private String accountState;
	
	/**
	 * 平台标签
	 */
	private String typeTag;
	
	/**
	 * 平台名称
	 */
	private String semPlatformName;
	
	/**
	 * 公司名称
	 */
	private String companyName;
	
	/**
	 * 公司Id
	 */
	private Integer companyId;
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	
	public String getAccountState() {
		return accountState;
	}

	public void setAccountState(String accountState) {
		this.accountState = accountState;
	}

	public String getSemPlatformName() {
		return semPlatformName;
	}

	public void setSemPlatformName(String semPlatformName) {
		this.semPlatformName = semPlatformName;
	}

	/**
	 * @return the loginName
	 */
	public String getLoginName() {
		return loginName;
	}

	/**
	 * @param loginName the loginName to set
	 */
	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	/**
	 * @return the loginPassword
	 */
	public String getLoginPassword() {
		return loginPassword;
	}

	/**
	 * @param loginPassword the loginPassword to set
	 */
	public void setLoginPassword(String loginPassword) {
		this.loginPassword = loginPassword;
	}

	/**
	 * @return the semPlatTag
	 */
	public String getTypeTag() {
		return typeTag;
	}

	/**
	 * @param semPlatTag the semPlatTag to set
	 */
	public void setTypeTag(String semPlatTag) {
		this.typeTag = semPlatTag;
	}

	/**
	 * @return the companyName
	 */
	public String getCompanyName() {
		return companyName;
	}

	/**
	 * @param companyName the companyName to set
	 */
	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	@Override
	public String toString() {
		return "AccountInfo [id=" + id + ", loginName=" + loginName + ", loginPassword=" + loginPassword
				+ ", accountState=" + accountState + ", typeTag=" + typeTag + ", semPlatformName=" + semPlatformName
				+ ", companyName=" + companyName + "]";
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((accountState == null) ? 0 : accountState.hashCode());
		result = prime * result + ((companyName == null) ? 0 : companyName.hashCode());
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		result = prime * result + ((loginName == null) ? 0 : loginName.hashCode());
		result = prime * result + ((loginPassword == null) ? 0 : loginPassword.hashCode());
		result = prime * result + ((semPlatformName == null) ? 0 : semPlatformName.hashCode());
		result = prime * result + ((typeTag == null) ? 0 : typeTag.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		AccountInfo other = (AccountInfo) obj;
		if (accountState == null) {
			if (other.accountState != null)
				return false;
		} else if (!accountState.equals(other.accountState))
			return false;
		if (companyName == null) {
			if (other.companyName != null)
				return false;
		} else if (!companyName.equals(other.companyName))
			return false;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		if (loginName == null) {
			if (other.loginName != null)
				return false;
		} else if (!loginName.equals(other.loginName))
			return false;
		if (loginPassword == null) {
			if (other.loginPassword != null)
				return false;
		} else if (!loginPassword.equals(other.loginPassword))
			return false;
		if (semPlatformName == null) {
			if (other.semPlatformName != null)
				return false;
		} else if (!semPlatformName.equals(other.semPlatformName))
			return false;
		if (typeTag == null) {
			if (other.typeTag != null)
				return false;
		} else if (!typeTag.equals(other.typeTag))
			return false;
		return true;
	}

	/**
	 * @return the companyId
	 */
	public Integer getCompanyId() {
		return companyId;
	}

	/**
	 * @param companyId the companyId to set
	 */
	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}
	
	
	
	
	
	

}
